﻿using System;
using System.Collections.Generic;

namespace Bpms.Entity
{
    /// <summary>
    /// 业务类型实体
    /// </summary>
    public class BusinessTypeInfo
    {
        /// <summary>
        /// ID
        /// </summary>
        public int ID
        {
            get;
            set;
        }

        /// <summary>
        /// 中文名称
        /// </summary>
        public string CHName
        {
            get;
            set;
        }

        /// <summary>
        /// 英文名称
        /// </summary>
        public string ENName
        {
            get;
            set;
        }

        /// <summary>
        /// 业务说明
        /// </summary>
        public string Description
        {
            get;
            set;
        }

        /// <summary>
        /// 业务类别ID
        /// </summary>
        public int CategoryID
        {
            get;
            set;
        }

        /// <summary>
        /// 单价
        /// </summary>
        public decimal UnitPrice
        {
            get;
            set;
        }

        /// <summary>
        /// 币种名称
        /// </summary>
        public string CurrencyName
        {
            get;
            set;
        }

        /// <summary>
        /// 币种符号
        /// </summary>
        public string CurrencySign
        {
            get;
            set;
        }

        /// <summary>
        /// 中文计价单位
        /// </summary>
        public string CHUnit
        {
            get;
            set;
        }

        /// <summary>
        /// 英文计价单位
        /// </summary>
        public string ENUnit
        {
            get;
            set;
        }

        /// <summary>
        /// 报价类型
        /// </summary>
        public int CustomerID
        {
            get;
            set;
        }

        /// <summary>
        /// 中文原文单位
        /// </summary>
        public string CHOrignUnit
        {
            get;
            set;
        }

        /// <summary>
        /// 英文原文单位
        /// </summary>
        public string ENOrignUnit
        {
            get;
            set;
        }

        /// <summary>
        /// 中文目标单位
        /// </summary>
        public string CHTargetUnit
        {
            get;
            set;
        }

        /// <summary>
        /// 英文目标单位
        /// </summary>
        public string ENTargetUnit
        {
            get;
            set;
        }

        /// <summary>
        /// 类型：1=普通批量，2=普通其他，3=trados
        /// </summary>
        public byte Type
        {
            get;
            set;
        }

        /// <summary>
        /// 备注
        /// </summary>
        public string Remark
        {
            get;
            set;
        }

        /// <summary>
        /// 排序号
        /// </summary>
        public byte SortNumber
        {
            get;
            set;
        }

        /// <summary>
        /// 是否删除
        /// </summary>
        public bool IsDelete
        {
            get;
            set;
        }
    }

    /// <summary>
    /// 业务类型扩展实体
    /// </summary>
    public class BusinessTypeExtensionInfo
    {
        /// <summary>
        /// ID
        /// </summary>
        public int ID
        {
            get;
            set;
        }

        /// <summary>
        /// 业务类型ID
        /// </summary>
        public int BusinessTypeID
        {
            get;
            set;
        }

        /// <summary>
        /// 初始匹配率
        /// </summary>
        public string BeginRate
        {
            get;
            set;
        }

        /// <summary>
        /// 结束匹配率
        /// </summary>
        public string EndRate
        {
            get;
            set;
        }

        /// <summary>
        /// 单价（人民币）
        /// </summary>
        public decimal UnitPrice
        {
            get;
            set;
        }

        /// <summary>
        /// 单价类型,1= new；2 =匹配率；3= 100%+repetition；4= project management
        /// </summary>
        public byte Type
        {
            get;
            set;
        }

        /// <summary>
        /// 显示顺序
        /// </summary>
        public byte SortNumber
        {
            get;
            set;
        }
    }


    /// <summary>
    /// 匹配率实体
    /// </summary>
    public class MatchRateInfo
    {
        /// <summary>
        /// ID
        /// </summary>
        public int ID
        {
            get;
            set;
        }

        /// <summary>
        /// 健
        /// </summary>
        public string Key
        {
            get;
            set;
        }

        /// <summary>
        /// 值
        /// </summary>
        public string Value
        {
            get;
            set;
        }

        /// <summary>
        /// 类型（1开始点 ；2结束点）
        /// </summary>
        public byte Type
        {
            get;
            set;
        }
    }
}
